import { IMessageBase } from "../../Framework/MQ/IMessageBase";
import { MessageManager } from "../../Framework/MQ/MessageManager";
import { SerializeStream } from "../../Framework/Serialize/SerializeStream";
type int = number;
//class SRechargeNumTargetActiveProcessInfo
    
    export  class SRechargeNumTargetActiveProcessInfo extends IMessageBase
    {
        constructor(arg1: Boolean=false)
        {
            
            super();if (arg1) 
            {
                MessageManager.instance().regist(this);
            }
            return;
        }

        public /* override */ getType(): int
        {
            return this._type;
        }

        public /* override */ clone(): IMessageBase
        {
            return new SRechargeNumTargetActiveProcessInfo();
        }

        public /* override */ __write(arg1: SerializeStream): void
        {
            arg1.writeBool(this.isOpen);
            arg1.writeInt(this.activeCode);
            arg1.writeInt(this.process);
            arg1.writeInt(this.touchNode);
            arg1.writeDate(this.endDate);
            return;
        }

        public /* override */ __read(arg1: SerializeStream): void
        {
            this.isOpen = arg1.readBool();
            this.activeCode = arg1.readInt();
            this.process = arg1.readInt();
            this.touchNode = arg1.readInt();
            this.endDate = arg1.readDate();
            return;
        }

        public /* const */_type: int=12398;

        public /* var */isOpen: Boolean;

        public /* var */activeCode: int;

        public /* var */process: int;

        public /* var */touchNode: int;

        public /* var */endDate: Date;

        public static /* var */_regist: SRechargeNumTargetActiveProcessInfo;
    }

            SRechargeNumTargetActiveProcessInfo._regist = new SRechargeNumTargetActiveProcessInfo(true);
        